﻿@using NTQOnlineExam.Services.Infrastructure.MVC
<!DOCTYPE html>

<html>
<head>
    <title>@ViewBag.Title - TestMaster</title>
    <meta name="viewport" content="width=device-width" />
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryui")
    @Scripts.Render("~/bundles/jqueryval")
    <link href="@Url.Content("~/ContentNew/img/favicon.ico")" rel="shortcut icon" type="image/x-icon" />
    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700' rel='stylesheet' type='text/css'>
    <link href="@Url.Content("~/ContentNew/css/style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/ContentNew/css/site-custom.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/ContentNew/fonts/font-awesome-4.0.3/css/font-awesome.min.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/ContentNew/css/animate.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/shopping.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    <!-- Navigation -->
    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="@Url.RouteUrl(new { Controller = "Term", Action = "GetTerms" })">
                    <img src="../../contentNew/img/logo.png" alt="..."></a>
            </div>
            <div class="collapse navbar-collapse">
                @{
                    Html.RenderPartial("_TopMenu");
                }
                <!-- Mobile Search -->
                <form class="navbar-form navbar-right visible-xs" role="search">
                    <div class="input-group">
                        <input type="text" class="form-control" placeholder="Search">
                        <span class="input-group-btn">
                            <button class="btn btn-red" type="button">Search!</button>
                        </span>
                    </div>
                </form>
            </div>
            <!--/.nav-collapse -->
        </div>
    </div>
    <!-- / .navigation -->

    <!-- Wrapper -->
    <div class="wrapper">

        <!-- Topic Header -->
        <div class="topic">
            <div class="container">
                <div class="row">
                    <div class="col-sm-4">
                        <h3>@ViewBag.Title</h3>
                    </div>
                    <div class="col-sm-8">
                        @{
                            Html.RenderPartial("_BreadcrumbPartial", new ViewDataDictionary { { "Breadcrumb", ViewData["Breadcrumb"] ?? null } });
                        }
                    </div>
                </div>
            </div>
        </div>

        <div class="container">
            <div class="row">
                <div class="col-sm-3">
                    <div id="help-nav" class="panel-group">
                        @Html.Action("TermYearMenu", "Term")
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <a class="" href="#help-nav-two" data-parent="#help-nav" data-toggle="collapse">@this.LocalResources("Examination")</a>
                            </div>
                            <div class="panel-collapse collapse in" id="help-nav-two">
                                <div class="panel-body">
                                    <ul>
                                        <li><a href="/Member/Examination">@this.LocalResources("DoAnExam")</a></li>
                                        <li><a href="/Portfolio/UserPortfolio">@this.LocalResources("Portfolio")</a></li>
                                        <li><a href="/Member/ExaminationHistory">@this.LocalResources("ExamHistory")</a></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="col-sm-9">
                    <div class="info-board info-board-red error-panel" id="errorPanel">
                        <button type="button" class="close">×</button>
                        <ul></ul>
                    </div>
                    <div class="info-board info-board-blue info-panel">
                        <button type="button" class="close">×</button>
                        <ul>
                            @if (ViewBag.ResultMessage != null && !string.IsNullOrEmpty(ViewBag.ResultMessage))
                            {
                                <li>@ViewBag.ResultMessage</li>
                            }
                        </ul>
                    </div>
                    @RenderBody()
                </div>
            </div>

            <!-- / .col-sm-8 -->
        </div>
        <!-- / .row -->
    </div>
    <!-- / .container -->

    @{
        Html.RenderPartial("_Footer");
    }
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    @*    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>*@

    <script src="@Url.Content("~/Scripts/bootstrap.min.js")"  type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/scrolltopcontrol.js")"  type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/common/dialog-utils.js")"  type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/common/common-utils.js")"  type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/pages/basket.js")"  type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            if ($('div.info-panel').find("ul > li").length > 0) {
                $('div.info-panel').show();
            }
        });
    </script>
</body>
</html>
